{include file="public/_meta" /}
<title></title>
</head>

<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>财务管理 <span class="c-gray en">&gt;</span> 财富记录<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <div class="text-c">
        <form class="Huiform" method="get" action="">
            </span>
            <input type="text" class="input-text" style="width:150px" placeholder="运营中心ID" id="" name="yunId" value="{$Request.get.yunId|default=''}">
            <input type="text" class="input-text" style="width:150px" placeholder="用户姓名、手机号" id="" name="keywords" value="{$Request.get.keywords|default=''}">

            <button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
        </form>
    </div>
    <div class="cl pd-5 bg-1 bk-gray mt-20">


    <div class="mt-20">
        <table class="table table-border  table-hover table-bg table-sort">
            <thead>
            <tr class="text-c">
                <th>运营中心id</th>
                <th>账户姓名</th>
                <th>手机号</th>
                <th>累计业绩</th>
                <th>团队业绩明细</th>
            </tr>
            </thead>
            <tbody>
            {volist name='list' id="vo"}
            <tr class="text-c">
                <td>{$vo.id}</td>
                <td>{$vo.us_nickname}</td>
                <td>{$vo.us_tel}</td>
                <td>
                     {$vo.teamMoney}
                </td>

<!--                <td><a href="javascript:;" onclick="myAccount({$vo.id})">[点击查看]</a></td>-->
                <td><a href="javascript:;" onclick="create({$vo.id},'team','点击查看')">[点击查看]</a></td>



            </tr>
            {/volist}
            </tbody>

        </table>

     </div>
    </div>
</div>
</body>
    {include file="public/_footer" /}
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="/static/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
    <script type="text/javascript">
        $('select[name="wa_type"]').val({$Request.get.wa_type});

        function create(id, url, key) {
            var url = "{:url('" + url + "')}?id=" + id;
            creatIframe(url, key);
        }

        function myAccount(id){
            var url = "{:url('Center/team')}?id="+id;
            layer_show('收益明细',url);
        }




        function change(id,value,key){
            layer.confirm('确定要审批么？', {
                btn: ['确定', '取消']
            }, function(index, layero){
                $.ajax({
                    type: "post",
                    url: "{:url('changezx')}",
                    data: {id:id,value:value,key:key},
                    success: function(data) {
                        if(data.code){
                            layer.msg(data.msg);
                            setTimeout("window.location='';",500);
                        }
                    }
                });
            });
        }
        function change2(id,value,key){
            layer.confirm('确定要审批么？', {
                btn: ['确定', '取消']
            }, function(index, layero){
                $.ajax({
                    type: "post",
                    url: "{:url('changezx2')}",
                    data: {id:id,value:value,key:key},
                    success: function(data) {
                        if(data.code){
                            layer.msg(data.msg);
                            setTimeout("window.location='';",500);
                        }
                    }
                });
            });
        }

        function del(id, key) {
            layer.confirm('确定要删除么？', {
                btn: ['确定', '取消']
            }, function(index, layero) {
                $.ajax({
                    type: "post",
                    url: "{:url('Every/allDel')}",
                    data: { id: id, key, key },
                    success: function(data) {
                        layer.msg(data.msg);
                        if (data.code == 1) {
                            setTimeout(function() {
                                location.href = data.url;
                            }, 1000);
                        }
                    }
                });
            });
        }
        function selecttime(flag){
            if(flag==1){
                var endTime = $("#countTimeend").val();
                if(endTime != ""){
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',maxDate:endTime})}else{
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})}
            }else{
                var startTime = $("#countTimestart").val();
                if(startTime != ""){
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:startTime})}else{
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})}
            }
        }
    </script>
</body>

</html>